body {
  background-color: #0f0f0f;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* === SOCIAL ICONS === */
.social-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
  padding: 20px;
  width: 100%;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 3px ridge gold;
  border-radius: 50%;
  font-size: 20px;
  background-color: silver;
  color: black;
  transition: all 0.3s ease;
}

.social-icon.github:hover { background-color: #333; color: white; }
.social-icon.youtube:hover { background-color: #FF0000; color: white; }
.social-icon.twitter:hover { background-color: #1DA1F2; color: white; }
.social-icon.gitlab:hover { background-color: #FC6D26; color: white; }
.social-icon.meetup:hover { background-color: #ED1C40; color: white; }
.social-icon.archive:hover { background-color: #000000; color: white; }
.social-icon.mastodon:hover { background-color: #6364FF; color: white; }
.social-icon.stack-overflow:hover { background-color: #F48024; color: white; }
.social-icon.bitchute:hover { background-color: #E60000; color: white; }
.social-icon.peertube:hover { background-color: #f1680d; color: white; }
.social-icon.keybase:hover { background-color: #33A0FF; color: white; }
.social-icon.matrix:hover { background-color: #0088cc; color: white; }
.social-icon.stack-exchange:hover { background-color: #1E5296; color: white; }
.social-icon.soundcloud:hover { background-color: #FF5500; color: white; }
.social-icon.writeas:hover { background-color: #000000; color: white; }
.social-icon.pastebin:hover { background-color: #02456C; color: white; }
.social-icon.telegram:hover { background-color: #0088cc; color: white; }
.social-icon.email:hover,
.social-icon.phone:hover { background-color: #444; color: white; }

/* === DIVIDER === */
.divider {
  position: relative;
  width: 98%;
  height: 2px;
  margin: 30px auto;
  background: linear-gradient(to right, transparent, #666, #aaa, #666, transparent);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
}

/* === NAME / LOGO === */
.name-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px auto;
}

.logo-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #444;
}

.name-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.4rem;
  background: linear-gradient(135deg, #b8860b, #ffd700, #fff8dc, #ffcc00, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: -2px -2px 0 silver, 2px -2px 0 silver, -2px 2px 0 silver, 2px 2px 0 silver;
}

/* === NAVIGATION === */
.nav-row-horizontal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px auto;
  max-width: 100%;
}

.nav-box {
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 20px 16px;
  background-color: black;
  border: 3px ridge gold;
  border-radius: 4px;
  width: clamp(100px, 12vw, 140px);
  text-align: center;
  color: silver;
  transition: background 0.3s, transform 0.2s, color 0.2s;
}

.nav-box:hover {
  background-color: black;
  color: #00ffff;
  border: 3px solid gold;
  box-shadow: 0 0 8px silver;
  transform: translateY(-3px);
}

.nav-box i {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
  animation: floatIcon 2s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* === RESUME MODAL === */
#resume-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

#resume-paper {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.6s ease-out;
  background: linear-gradient(#fffef9, #fdfdfd);
  color: #222;
  padding: 40px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  font-family: 'Segoe UI', sans-serif;
  text-align: left;
  border: 1px solid #ddd;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  position: relative;
}

/* Dark mode theme toggle (manual override) */
#resume-paper.dark {
  background: #222 !important;
  color: #f5f5f5 !important;
}

/* === RESUME TOOLBAR === */
#resume-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.toolbar-btn {
  background-color: black;
  border: 3px ridge gold;
  color: silver;
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toolbar-btn:hover {
  background-color: black;
  color: #00ffff;
  border: 3px solid gold;
  box-shadow: 0 0 6px silver;
  transform: translateY(-2px);
}
